package chai.ning.wrapper1;

public class BooleanTest {

	public static void main(String[] args) {
		
		Boolean x = Boolean.valueOf( true );
		System.out.println( x + " : " + x.getClass().getCanonicalName() );
		
		Boolean y = Boolean.valueOf( false );
		System.out.println( y + " : " + y.getClass().getCanonicalName() );
		
		System.out.println( "- - - - - - - - - - -" );
		
		Boolean z = Boolean.valueOf( "tRue" );
		System.out.println( z + " : " + y.getClass().getCanonicalName() );
		
		z = Boolean.valueOf( "abc" );
		System.out.println( z + " : " + y.getClass().getCanonicalName() );

	}

}
